package com.hejialong.dao;

import com.hejialong.domain.User;

import java.util.List;

public interface UserDao {

    List<User> findAll();

    Long save(User user);

    void saveUserRoleRel(Long id, Long[] roleIds);

    User findByUsernameAndPassword(String username, String password);
}
